# add_subdirectory(sd-journal)

include_directories(
    .
    )

file(GLOB SRC_FILES ${PROJECT_SOURCE_DIR}/*.c)

add_executable(journalctl 
        				strbuf.c
						# string-table.c
        				string-util.c
        				string-util-fundamental.c
        				strv.c
        				# unit-def.c
						# unit-name.c
						# user-util.c
        				utf8.c
						# json.c
						alloc-util.c
        				log.c
        				# login-util.c
						# architecture.c
        				# build.c
						# catalog.c
        				# cgroup-util.c
						# chattr-util.c
						# compress.c
						# conf-files.c
        				dirent-util.c
						# env-file.c
        				# env-util.c
        				# errno-list.c
						escape.c
        				extract-word.c
        				fd-util.c
        				fileio.c
        				format-util.c
        				fs-util.c
						# glob-util.c
        				gunicode.c
        				hash-funcs.c
        				hashmap.c
        				hexdecoct.c
        				# hostname-util.c
        				id128-util.c
        				io-util.c
        				khash.c
						# locale-util.c
        				lookup3.c
        				memory-util.c
						# mempool.c
						# mkdir.c
        				mmap-cache.c
        				# namespace-util.c
						# nulstr-util.c
						# os-util.c
        				parse-util.c
        				path-util.c
        				# proc-cmdline.c
        				process-util.c
						random-util.c
						# ratelimit.c
						# replace-var.c
						# rlimit-util.c
						# mountpoint-util.c
						# blockdev-util.c
						# web-util.c
						# selinux-util.c
						# label.c
						# rm-rf.c
						# smack-util.c
						# btrfs-util.c
						output-mode.c	
						# pager.c
						# copy.c
						# pretty-print.c
        				sd-id128.c
        				sigbus.c
						# signal-util.c
        				siphash24.c
						# socket-util.c
        				sort-util.c
        				stat-util.c
						# syslog-util.c
        				# terminal-util.c
        				time-util.c
						# tmpfile-util.c
        				util.c
        				# virt.c
						# xattr-util.c
						# sd-daemon.c
						# strxcpyx.c
						# prioq.c
						logs-show.c
						# sd-event.c
        				sd-journal.c
						journal-util.c
        				journal-file.c
        				# journal-authenticate.c
        				journal_extractor.c
)


				# ${SRC_FILES})
# target_link_libraries(journalctl sd_journal)
